<template>
  <div>
    <van-nav-bar
  title="个人介绍"
  left-text=""
  right-text="确认"
  left-arrow
  @click-left="onClickLeft"
  @click-right="onClickRight"
/>
    <van-field
  v-model="message"
  rows="4"
  autosize
  type="textarea"
  maxlength="100"
  placeholder="请输入留言"
  show-word-limit
/>  
  </div>
</template>

<script>
import { Toast } from 'vant';

export default {
  data() {
    return {
      message: ''
    }
  },
   methods: {
    onClickLeft() {
      // Toast('返回');
      this.$router.back();
    },
    onClickRight() {
      Toast('确认');
    },
  },
};
</script>
